namespace foundation.structure.link
{
    public class LinkVo<T>
    {
        public bool Close = true;
        public T Data;
        public object thisobj;
        public LinkVo<T> Next;
        public LinkVo<T> Pre;
        public int Weight = 0;


        public void Clean()
        {
            Close = true;
            Data = default(T);
            Weight = 0;
            thisobj = null;
            
           
        }

        public void Dispose()
        {
            Clean();
            Next = null;
            Pre = null;
        }
    }
}